![]() |
PATH![]() |
The USBAbortPipeByReference function aborts operations on a specified pipe or the device's default pipe 0.
OSStatus USBAbortPipeByReference(USBReference ref);
All outstanding transactions on the pipe are returned with a kUSBAborted status. The state of the pipe is not affected.
After this function is called, the device's endpoint needs to be synchronized with the host's endpoint. See Data Toggle Synchronization for information about how to accomplish endpoint data toggle synchronization.
Errors returned by the USBAbortPipeByReference function include:
kUSBUnknownPipeErr
|
-6997 | pipe reference specified is unknown |
Previous | Back Up One Level | Next | Show Frames | Hide Frames